﻿using System;
using System.Collections.Generic;
using System.Text;

namespace iBing.Common.DB
{
    public class OracleSchema
    {
        public OracleSchema()
        { }

        public OracleSchema(string schemaName, string userId, string pass, string ip, string sid)
        {
            this.schemaName = schemaName;
            this.userId = userId;
            this.pass = pass;
            this.ip = ip;
            this.sid = sid;
        }

        public OracleSchema(string schemaName, string userId, string pass, string ip, string sid,int port)
        {
            this.schemaName = schemaName;
            this.userId = userId;
            this.pass = pass;
            this.ip = ip;
            this.sid = sid;
            this.port = port;
        }

        private int port = 1521;

        public int Port
        {
            get { return port; }
            set { port = value; }
        }


        private string ip;

        public string Ip
        {
            get { return ip; }
            set { ip = value; }
        }

        private string sid;

        public string Sid
        {
            get { return sid; }
            set { sid = value; }
        }

        private string schemaName;

        public string SchemaName
        {
            get { return schemaName; }
            set { schemaName = value; }
        }
        private string userId;

        public string UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        private string pass;

        public string Pass
        {
            get { return pass; }
            set { pass = value; }
        }
    }
}
